All Questions
43 questions
0votes
1answer
218views
Arranging subfolders within view folder in mvc projects
I have a MVC project where the main View folder is subdivided into different folders. These different folders are named by their corresponding purpose, such as; I have some partial views which are ...
0votes
1answer
116views
Areas inside Areas? MVC4
I am developing a big application, consisting of three main applications with many modules within each one. All three share the same security and layouts. The division is fundamentally logical. I'm ...
1vote
0answers
895views
Best practice for admin panels in asp.net core?
Hi I'm wondering how to design the architecture of my admin panel on my site. I've made an AdminController that can only be accessed by the admin role so that works. I've been thinking about making ...
0votes
1answer
250views
Why should we add Model reference separately to MVC front end instead of using it from service reference?
In older web projects that I worked on, we used to create models in DAL, add reference of DAL in Business Logic Layer (and reuse models from DAL as they would be available with reference of DAL), Add ...
0votes
2answers
3kviews
MVC architecture control flow
I am a bit confused how the three components - Model, View, Controller - interact with each other in MVC architecture. Sometimes I feel I know how MVC works and sometimes I feel I don't know its inner ...
0votes
1answer
108views
MVC misconception
I started learning ASP.NET MVC recently, and as far as I understood: Model represents a structure of the app data; View represents user interface; Controller handles actions between the model and the ...
1vote
2answers
461views
Where to apply class diagram when we develop using ASP.NET MVC application with Entity Framework?
If we develop a system using database first approach is it essential to draw a class diagram? I'm using Entity Framework & I generated the Entity Data Model from the database. I have no rights to ...
2votes
0answers
248views
.NET MVC application into an N Tier application [closed]
In either .NET MVC 5 or a .NET Core MVC application, is it possible to split your Models into a Data Transport Layer, your business logic into a Business Logic Layer and your Db Contexts into a Data ...
1vote
0answers
26views
Where should I place CustomControllerFactory class in Asp.Net MVC?
I have seen some tutorials putting this class in the model folder, but this is not a model nor a controller or view. Where should I place CustomControllerFactory class in Asp.Net MVC?
2votes
3answers
167views
Mvc and only selecting fields needed
I cant seem to find an acceptable answer to this. There are two big things I keep seeing: 1) Don't execute queries in the controller. That is the responsibility of business or data. 2) Only select ...
0votes
0answers
80views
What is the difference between active MVC and MVVM and how do you implement active MVC in Asp.NET MVC?
I know a similar question is asked here but I am confused on below points How to implement active MVC in asp.net MVC? If active MVC is used with observer pattern or SignalR then what are the ...
1vote
1answer
768views
Populate drop down in MVC using different View and Controller
I'm creating an internal CMS system. I have a page that retrieves an Item and allows the user to carry our various administrative tasks. Lets look at the following: Quote (Page) Item (Page) - ...
0votes
1answer
463views
Separate Service and Business layers in ASP MVC app architecture?
last few days i'm reading alot about apps architecture as i prepare myself for new project. So far, i pretty much used architecture like: Presentation layer (ASP MVC controllers) Business layer [...
0votes
2answers
3kviews
Architecture of MVC application without using entity framework
I am new in MVC application development.I am willing to develop a new project using MVC, i looked a lot for architectures that suits to MVC application. After reading many articles and blogs i came to ...
3votes
2answers
20kviews
C# MVC vs ASP.NET MVC difference? [closed]
I am an intermediate C# developer and taught myself the basics of C# MVC, but not ASP.NET MVC. I already know classic ASP and ASP.NET though I haven't used them in many years, at least 5, since I ...